
import 'package:json_annotation/json_annotation.dart';

part 'leads_follow_rule.g.dart';

@JsonSerializable()
class LeadsFollowRule {
  int? id;
  int? level;
  String? levelName;
  int? intervalDays;
  int? defaultIntervalDays;

  LeadsFollowRule({
    this.id,
    this.level,
    this.levelName,
    this.intervalDays,
    this.defaultIntervalDays,
  });

  factory LeadsFollowRule.fromJson(Map<String, dynamic> json) => _$LeadsFollowRuleFromJson(json);

  Map<String,dynamic> toJson() => _$LeadsFollowRuleToJson(this);
}
